package zlmedia_sdk

type DelStreamProxyReq struct {
	Key string `json:"key" url:"key"` //addStreamProxy接口返回的key
}

func (receiver DelStreamProxyReq) api() string {
	return "/index/api/delStreamProxy"
}

type DelStreamProxyRes struct {
	ResCommon
	Data struct {
		Flag bool `json:"flag"` //  成功与否
	} `json:"data,omitempty"`
}

func (c *ZLMediaClient) DelStreamProxy(req *DelStreamProxyReq) (res DelStreamProxyRes, err error) {
	err = c.Request(req, &res)
	return
}
